package jhlee42;

import java.util.Scanner;

public class J10Circle {
	public static void main(String[] args) {
		double across[] = new double[1];
		double circle = 0; // 원 둘레
		double area = 0; // 원 면적
		double pi = 3.141592;
		//Scanner sc;
		
		Scanner sc = null;
		input();
		circle(input());
		area(input());
		output(circle(input()), area(input()));	
	}
	
	public static double input(){
		Scanner sc;
		double across;
		sc = new Scanner(System.in);
		System.out.println("지름을 입력하세요..");	
		return sc.nextDouble();
	}
	
	public static double circle(double across){
		double pi = 3.141592;
		return  (across * 2) * pi;
	}
	
	public static double area(double across){
		double pi = 3.141592;
		return (across * across) * pi;
	}
	
	public static void output(double circle, double area){
		System.out.println("원 둘레 :  " + circle);
		System.out.println("원 넓이 :  " + area);
	}
}
